package cn.itcast.dao;

import cn.itcast.pojo.Address;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;

@Repository
public interface BranchSettingDao {

    Page<Address> findAll();

    void save(Address address);

    Address findById(Integer id);

    void update(Address address);

    void deleteById(Integer id);

    void updateEnable(Integer id, Integer enable);
}
